/**
 * 文件名：OrderFacade.java
 *
 * 创建人：Fyh - 1009173473@qq.com
 *
 * 创建时间：2019年4月16日 下午3:01:26
 *
 * 版权所有：南京植百汇智能科技服务有限公司
 */
package com.z100h.supplychain.order.facade;

import java.util.List;

import org.apache.poi.ss.usermodel.Workbook;

import com.jeeplus.core.persistence.Page;
import com.z100h.supplychain.order.entity.OrderCustomer;
import com.z100h.supplychain.order.entity.OrderDetailVo;
import com.z100h.supplychain.order.entity.OrderSpec;
import com.z100h.supplychain.order.entity.OrderVo;

/**
 * [描述信息：说明类的基本功能]
 *
 * @author Fyh - 1009173473@qq.com
 * @version 1.0 Created on 2019年4月16日 下午3:01:26
 */
public interface OrderFacade {

	/**
	 * 
	 * 订单详情
	 * 
	 * @param orderId
	 * @return
	 * @author: Fyh - 1009173473@qq.com 
	 * @date: Created on 2019年4月16日 下午3:05:17
	 */
	public OrderCustomer getOrderCustomerByOrderId(String orderId);

	public Workbook createStockoutWorkBook(String stockoutId);

	public Workbook createRepairStockoutWorkBook(String stockoutId);

	public Workbook createStockoutWorkBookAll(List<String> stockoutIds);

	public OrderDetailVo findOrderDetail(String orderId);

	public List<OrderSpec> findRepairByCustomerId(String customerId);

	public List<OrderSpec> findOrderDetailByCustomerId(String customerId);

	public List<OrderSpec> findSummaryByCustomerId(String customerId);

	public List<OrderSpec> findCustomerDetail(String customerId, String serviceType);

	public Workbook createWorkbookByEvidenceIds(List<String> evidenceIds, String isSupplement);

	public Workbook createWorkbookByEvidenceIdsNew(List<String> evidenceIds, String isSupplement);

	public Workbook exportCode(String evidenceId);

	public Workbook exportExcelAllCode(List<String> evidenceIds);

	public Workbook exportExcelAllCodeByOrderIds(List<String> orderIds);

	public List<OrderSpec> findSummarySkuByCustomerId(String customerId);

	public List<OrderSpec> findRepairSkuByCustomerId(String customerId);

	public List<OrderSpec> findOrderDetailSkuByCustomerId(String customerId);

	public Page<OrderVo> findByPage(Page<OrderVo> page, OrderVo orderVo);
}
